import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from "@/pages/home/home"
import my from "@/pages/my"
import find from "@/pages/find"
import purse from "@/pages/purse"
import friend from "@/pages/friend"
import gameClass from "@/pages/gameClass"

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/my',
      name: 'my',
      component: my
    },
    {
      path: '/find',
      name: 'find',
      component: find
    },
    {
      path: '/purse',
      name: 'purse',
      component: purse
    },
    {
      path: '/friend',
      name: 'friend',
      component: friend
    },
    {
      path: '/gameClass',
      name: 'gameClass',
      component: gameClass
    },
  ]
})
